<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>成交</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  <script type="text/javascript">
  //编写自定义JS代码
  </script>
 </head>
 <body>
		<t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="${action}" >
					<input id="id" name="id" type="hidden" value="${vEcpTradeorderPage.id }"/>
		<table style="width: 99%;" cellpadding="0" cellspacing="1" class="formtable">
					<tr>
						<td align="right">
							<label class="Validform_label">
								挂单编码:
							</label>
						</td>
						<td class="value">
						    <input id="pocode" name="pocode" type="text" maxlength="30" style="width: 150px"  ignore="ignore"  value='${vEcpTradeorderPage.pocode}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">挂单编码</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								订单编码:
							</label>
						</td>
						<td class="value">
						    <input id="tocode" name="tocode" type="text" maxlength="30" style="width: 150px"  ignore="ignore"  value='${vEcpTradeorderPage.tocode}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">订单编码</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								运输方式:
							</label>
						</td>
						<td class="value">
						    <input id="transporttypename" name="transporttypename" type="text" maxlength="50" style="width: 150px"  ignore="ignore"  value='${vEcpTradeorderPage.transporttypename}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">运输方式</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								挂单单位:
							</label>
						</td>
						<td class="value">
						    <input id="potradername" name="potradername" type="text" maxlength="150" style="width: 150px"  ignore="ignore"  value='${vEcpTradeorderPage.potradername}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">挂单单位</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								挂单会员:
							</label>
						</td>
						<td class="value">
									<t:dictSelect field="pouserid" type="list"  datatype="n"  dictTable="sys_user" dictField="userid" dictText="username"   defaultVal="${vEcpTradeorderPage.pouserid}" hasLabel="false"  title="挂单会员" ></t:dictSelect>     
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">挂单会员</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								应单单位:
							</label>
						</td>
						<td class="value">
						    <input id="aotradername" name="aotradername" type="text" maxlength="150" style="width: 150px"  ignore="ignore"  value='${vEcpTradeorderPage.aotradername}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">应单单位</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								应单会员:
							</label>
						</td>
						<td class="value">
						    <input id="aousername" name="aousername" type="text" maxlength="50" style="width: 150px"  ignore="ignore"  value='${vEcpTradeorderPage.aousername}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">应单会员</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								商品名称:
							</label>
						</td>
						<td class="value">
						    <input id="commodityname" name="commodityname" type="text" maxlength="100" style="width: 150px"  ignore="ignore"  value='${vEcpTradeorderPage.commodityname}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">商品名称</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								成交价格:
							</label>
						</td>
						<td class="value">
						    <input id="toprice" name="toprice" type="text" maxlength="10" style="width: 150px"  ignore="ignore"  value='${vEcpTradeorderPage.toprice}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">成交价格</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								成交数量:
							</label>
						</td>
						<td class="value">
						    <input id="toquality" name="toquality" type="text" maxlength="10" style="width: 150px"  ignore="ignore"  value='${vEcpTradeorderPage.toquality}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">成交数量</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								成交时间:
							</label>
						</td>
						<td class="value">
									  <input id="totime" name="totime" type="text" style="width: 150px"  class="Wdate" onClick="WdatePicker()"  ignore="ignore" value='<fmt:formatDate value='${vEcpTradeorderPage.totime}' type="date" pattern="yyyy-MM-dd"/>'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">成交时间</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								交易模式:
							</label>
						</td>
						<td class="value">
									<t:dictSelect field="trademodeid" type="list"  datatype="n"  typeGroupCode="TRADEMODE"   defaultVal="${vEcpTradeorderPage.trademodeid}" hasLabel="false"  title="交易模式" ></t:dictSelect>     
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">交易模式</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								品种名:
							</label>
						</td>
						<td class="value">
						    <input id="varietyid" name="varietyid" type="text" maxlength="19" style="width: 150px"  ignore="ignore"  value='${vEcpTradeorderPage.varietyname}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">品种名</label>
						</td>
						<td align="right">
							<label class="Validform_label">
								<label class="Validform_label">
										查看附件:
								</label>
								
							</label>
						</td>
						<td class="value">
						    	<c:if test="${not empty listorderdj}">
									<c:forEach items="${listorderdj}" var="odj">
									    <a href="${odj.fileurl }" target="_blank"><font color="blue">${odj.filename }</font> </a>
									</c:forEach>
								</c:if>
							   
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">品种名</label>
						</td>
						
					</tr>
				
			</table>
		</t:formvalid>
 </body>
